﻿using System;
namespace Model
{
	/// <summary>
	/// PurchaseDetail:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class PurchaseDetail
	{
		public PurchaseDetail()
		{}
		#region Model
		private int _id;
		private string _productname;
		private string _producttype;
		private decimal? _price;
		private int? _nums;
		private decimal? _pricesum;
		private int? _purchasemainid;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 商品名称
		/// </summary>
		public string productname
		{
			set{ _productname=value;}
			get{return _productname;}
		}
		/// <summary>
		/// 类型
		/// </summary>
		public string producttype
		{
			set{ _producttype=value;}
			get{return _producttype;}
		}
		/// <summary>
		/// 单价
		/// </summary>
		public decimal? price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 数量
		/// </summary>
		public int? nums
		{
			set{ _nums=value;}
			get{return _nums;}
		}
		/// <summary>
		/// 小计
		/// </summary>
		public decimal? pricesum
		{
			set{ _pricesum=value;}
			get{return _pricesum;}
		}
		/// <summary>
		/// 关联采购表
		/// </summary>
		public int? purchaseMainid
		{
			set{ _purchasemainid=value;}
			get{return _purchasemainid;}
		}
		#endregion Model

	}
}

